<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>背景</title>
		<style type="text/css">
			/* .box2{ 
				width:200px;
				height: 200px;
				background-color: aqua;
				float: left;
			} */
			.box{
				width: 300px;
				height: 300px;
				border: 1px solid red;
				background-color: yellow;
				float: left;
			}
			.bg{
				width: 400px;
				height: 600px;
				border: 1px solid gray;
				background-image: url(img/123.png.png);
				/* 背景图片重复显示:
				1.no-repeat:不重复
				2.repeat:重复
				3.repeat-x:
				4.repeat-y: 
				*/
				background-repeat: no-repeat;
			}
		</style>
	</head>
	<body>
		<!-- <div class="box"></div> -->
		<div class="box2"></div>
		<div class="bg"></div>
	</body>
</html>